#ifndef STX_ALGORITHM_IOTA_HPP
#define STX_ALGORITHM_IOTA_HPP

#include <stx/algorithm/common.hpp>

namespace stx {

template <class ForwardIterator, class T>
inline void
iota(ForwardIterator first, ForwardIterator last, T value)
{
    for (; first != last; ++first, ++value) {
        *first = value;
    }
}

} // namespace stx

#endif // STX_ALGORITHM_IOTA_HPP
